package 作业1024.作业06;

public class Test {
    public static void main(String[] args) {
        Cat c = new Cat("汤姆","波斯猫",30);
        c.show();
        c.eat();
        c.sleep();
        c.pashu();
        Dog  d = new Dog("二黑","哈士奇",60);
        d.show();
        d.eat();
        d.sleep();
        d.zhaung();
        Yingwu y = new Yingwu("韩华","牡丹",15);
        y.show();
        y.eat();
        y.sleep();
        y.fly();
    }
}
